<html>
<body>
Reports <code>map.put</code> function calls that can be replaced with indexing operator (<code>[]</code>).
<p>Using syntactic sugar makes your code simpler.</p>
<p>The quick-fix replaces <code>put</code> call with the assignment.</p>
<p><b>Example:</b></p>
<pre><code>
  fun foo(map: MutableMap&lt;Int, String&gt;) {
      map.put(42, &quot;foo&quot;)
  }
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  fun foo(map: MutableMap&lt;Int, String&gt;) {
      map[42] = &quot;foo&quot;
  }
</code></pre>
<!-- tooltip end -->
</body>
</html>